Skip to content

Conversation

pmarki
Copy link

@pmarki pmarki commented Mar 5, 2025

Magento\Framework\Controller\ResultFactory returns type based on passed parameter, all of them will have custom methods that exist only in this specific class, knowing the correct type will prevent PHPStan from raising errors that given method doesn't exist on ResponseInterface.

Great work btw 👍

@shochdoerfer shochdoerfer added this to the 0.41.0 milestone Mar 5, 2025
@shochdoerfer
Copy link
Member

Thx for your first contribution! Very much appreciated.

@shochdoerfer shochdoerfer merged commit b233aa9 into bitExpert:master Mar 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants